<?php
 /*********************************************\
 |* @author Yannic Schnetz, Mike Waldvogel    *|
 |* @copyright Yannic Schnetz, Mike Waldvogel *|
 |*********************************************|
 |* @since 30.07.2013                         *|
 \*********************************************/

$freetime = array();
$query = $DB->query("SELECT * FROM `freizeit` ORDER BY `km` ASC");
while($row = $DB->fetch($query)) {
    $row['description'] = Functions::defilter_text($row['description']);
    $freetime[] = $row;
}

$tpl->assign('freetime', $freetime);
?>
